package com.shuaitao.newsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shuaitao.newsystem.bean.News;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shuaitao.newsystem.utils.R;
import com.shuaitao.newsystem.vo.GroupNews;

import java.util.List;

/**
* @author 24820
* @description 针对表【news】的数据库操作Service
* @createDate 2023-06-21 17:04:45
*/
public interface NewsService extends IService<News> {

    List<GroupNews> getGroupNews();

    List<News> getByTid(Integer tid);

    IPage getNewPage(Integer pageNum, Integer tid, String keywords);

    R delNews(Integer nid);
}
